<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			// Math和其它对象不同，不是构造函数,是工具类，封装了数学运算相关属性和方法
			console.log(Math.PI)
			console.log(Math.abs(-100))
			console.log(Math.ceil(1.4))
			console.log(Math.floor(1.4))
			console.log(Math.round(1.4))
			console.log(Math.random())
			console.log(Math.round(Math.random()*10))
			console.log(Math.max(40,20,15,50));
			console.log(Math.min(40,20,15,50));
			console.log(Math.pow(2,3));
			console.log(Math.sqrt(16));
			// Math详见https://www.runoob.com/jsref/jsref-obj-math.html
		</script>
	</head>
	<body>
	</body>
</html>
